<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, intial-scale=1,maximum-scale=1,user-scalable=no"  />
		<title>图标菜单按钮组件</title>
		<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" />
		<style>
			.a{
				height: 50px;
				width: 100px;
				border:1px solid #ccc;
				background: #eee;
			}
		</style>
	</head>
	<body style="margin: 50px;"> 
		<i class="glyphicon glyphicon-star"></i>
		<span class="glyphicon glyphicon-star"></span>
		
		
		<button class="btn btn-default btn-lg">
			<i class="glyphicon glyphicon-star"></i>
		</button>
		<button class="btn btn-default btn-sm">
			<i class="glyphicon glyphicon-star"></i>
		</button>
		<button class="btn btn-default btn-xs">
			<i class="glyphicon glyphicon-star"></i>
		</button>
		
		<h3>下拉菜单组件</h3>
		<div class="dropdown">
			<button class="btn btn-default" data-toggle="dropdown">
				下拉菜单
				<span class="caret"></span>
			</button>
			<ul class="dropdown-menu">
				<li class="dropdown-header">网站导航</li>
				<li><a href="#">首页</a></li>
				<li><a href="#">资讯</a></li>
				<li class="divider"></li>
				<li class="disabled"><a href="#">产品</a></li>
				<li><a href="#">关于</a></li>
			</ul>
		</div>
		
		<div class="btn-toolbar"> <!--按钮大分组-->
			<div class="btn-group btn-group-lg"> <!--按钮分组-->
				<button class="btn btn-default">左</button>
				<button class="btn btn-default">中</button>
				<button class="btn btn-default">右</button>
			</div>
			<div class="btn-group">
				<button class="btn btn-default">1</button>
				<button class="btn btn-default">2</button>
				<button class="btn btn-default">3</button>
			</div>
		</div>
		
		<div class="btn-group"> <!--按钮分组-->
			<button class="btn btn-default">左</button>
			<button class="btn btn-default">中</button>
			<button class="btn btn-default">右</button>
			<div class="btn-group">
				<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
					下拉菜单
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu">
					<li class="dropdown-header">网站导航</li>
					<li><a href="#">首页</a></li>
					<li><a href="#">资讯</a></li>
					<li class="divider"></li>
					<li class="disabled"><a href="#">产品</a></li>
					<li><a href="#">关于</a></li>
				</ul>
			</div>
		</div>
		
		<div class="btn-group-vertical"> <!--按钮分组-->
			<button class="btn btn-default">左</button>
			<button class="btn btn-default">中</button>
			<button class="btn btn-default">右</button>
		</div>
		
		<div class="btn-group-justified"> <!--按钮分组-->
			<a class="btn btn-default">左</a>
			<a class="btn btn-default">中</a>
			<a class="btn btn-default">右</a>
		</div>
		
		<div class="btn-group">
			<button class="btn btn-default">下拉菜单</button>
			<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
				<span class="caret"></span>
			</button>
			<ul class="dropdown-menu">
				<li class="dropdown-header">网站导航</li>
				<li><a href="#">首页</a></li>
				<li><a href="#">资讯</a></li>
				<li class="divider"></li>
				<li class="disabled"><a href="#">产品</a></li>
				<li><a href="#">关于</a></li>
			</ul>
		</div>
		
		
		<script src="jquery.min.js"></script>
		<script src="bootstrap/js/bootstrap.min.js"></script>
	</body>
	
</html>
